package interview.CooperateSystem.common.entity;

/**
 * Created by angela on 6/6/2014.
 */
public enum State {
    SUCCESS(200,null), EXCEPTION(401,"EXCEPTION"),TIMEOUT(402,"TIMEOUT");
    private Integer code;
    private String message;
     State(Integer code, String message){
        this.code = code;
        this.message = message;
    }
}
